package com.douwong.student.model;

import java.io.Serializable;
import java.util.List;

/**
 * @autor yichao
 * @time 2017/6/2710:44
 * @des 考试详情记录
 */

public class ClassTestRecordInfos  implements Serializable{
    private static final long serialVersionUID = 1L;


    /**
     * number : 200
     * msg : 查询成功
     * flag : true
     * data : {"id":14985306647,"examin_result":[{"id":1986,"score":0,"answer":[""],"iteminfo":{"id":314064,"item_type":1,"item_body":"<p>中国的首都？<\/p><IMG align=\"absmiddle\" src=\"091055F454DC4CB5E07D08583B1C39A0.png\" >","item_options":[{"key":"A","value":"北京<IMG align=\"absmiddle\" src=\"215A976AA710FC4650A98FBA7DB7B075.png\" >"},{"key":"B","value":"天津"},{"key":"C","value":"深圳"},{"key":"D","value":"香港"}],"analysis":"","item_answers":"A","item_score":"25.00","item_order":1}},{"id":1987,"score":0,"answer":[""],"iteminfo":{"id":314065,"item_type":2,"item_body":"<p>中国四大名著？<\/p><IMG align=\"absmiddle\" src=\"2F53F7191ED8D93770C95EA1FC824A11.png\" >","item_options":[{"key":"A","value":"水浒传"},{"key":"B","value":"三国演义<IMG align=\"absmiddle\" src=\"68F4B065B895C2E5F5F4B0238FC83023.png\" >"},{"key":"C","value":"金瓶梅<IMG align=\"absmiddle\" src=\"E712861A63376AE894A78F86F9D16A14.png\" >"},{"key":"D","value":"西游记"}],"analysis":"","item_answers":"A*#*B*#*D","item_score":"25.00","item_order":2}},{"id":1988,"score":0,"answer":[""],"iteminfo":{"id":314066,"item_type":3,"item_body":"<p>被称为天府之国的中国城市是<span style=\"text-decoration: underline;\">成都<\/span>。<\/p>","item_options":[],"analysis":"","item_answers":"成都","item_score":"25.00","item_order":3}},{"id":1990,"score":0,"answer":[""],"iteminfo":{"id":314068,"item_type":15,"item_body":"<p>11111<\/p>","item_options":[{"key":"A","value":"<p>11111<\/p>"},{"key":"B","value":""}],"analysis":"","item_answers":"A","item_score":"1.00","item_order":4}},{"id":1991,"score":5,"answer":["A"],"iteminfo":{"id":314069,"item_type":1,"item_body":"<p>新建公式图片<img class=\"kfformula\" src=\"\" data-latex=\"\\cong =\\sqrt[{2}] {22}\"/>图片片<\/p>","item_options":[{"key":"A","value":"vvvdds<IMG align=\"absmiddle\" src=\"9D95827DD7366B59458DA21084D8239F.png\" >"},{"key":"B","value":"方法"},{"key":"C","value":" 得到"},{"key":"D","value":"得到"}],"analysis":"","item_answers":"A","item_score":"5.00","item_order":5}}],"ynJoin":0,"ynComplete":0,"ex_score":"5.00","ex_wrong_items":4,"ranking":5,"create_date":"2017-06-27 10:31:04"}
     */

    private int number;
    private String msg;
    private boolean flag;
    private DataBean data;

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        private static final long serialVersionUID = 1L;
        /**
         * id : 14985306647
         * examin_result : [{"id":1986,"score":0,"answer":[""],"iteminfo":{"id":314064,"item_type":1,"item_body":"<p>中国的首都？<\/p><IMG align=\"absmiddle\" src=\"091055F454DC4CB5E07D08583B1C39A0.png\" >","item_options":[{"key":"A","value":"北京<IMG align=\"absmiddle\" src=\"215A976AA710FC4650A98FBA7DB7B075.png\" >"},{"key":"B","value":"天津"},{"key":"C","value":"深圳"},{"key":"D","value":"香港"}],"analysis":"","item_answers":"A","item_score":"25.00","item_order":1}},{"id":1987,"score":0,"answer":[""],"iteminfo":{"id":314065,"item_type":2,"item_body":"<p>中国四大名著？<\/p><IMG align=\"absmiddle\" src=\"2F53F7191ED8D93770C95EA1FC824A11.png\" >","item_options":[{"key":"A","value":"水浒传"},{"key":"B","value":"三国演义<IMG align=\"absmiddle\" src=\"68F4B065B895C2E5F5F4B0238FC83023.png\" >"},{"key":"C","value":"金瓶梅<IMG align=\"absmiddle\" src=\"E712861A63376AE894A78F86F9D16A14.png\" >"},{"key":"D","value":"西游记"}],"analysis":"","item_answers":"A*#*B*#*D","item_score":"25.00","item_order":2}},{"id":1988,"score":0,"answer":[""],"iteminfo":{"id":314066,"item_type":3,"item_body":"<p>被称为天府之国的中国城市是<span style=\"text-decoration: underline;\">成都<\/span>。<\/p>","item_options":[],"analysis":"","item_answers":"成都","item_score":"25.00","item_order":3}},{"id":1990,"score":0,"answer":[""],"iteminfo":{"id":314068,"item_type":15,"item_body":"<p>11111<\/p>","item_options":[{"key":"A","value":"<p>11111<\/p>"},{"key":"B","value":""}],"analysis":"","item_answers":"A","item_score":"1.00","item_order":4}},{"id":1991,"score":5,"answer":["A"],"iteminfo":{"id":314069,"item_type":1,"item_body":"<p>新建公式图片<img class=\"kfformula\" src=\"\" data-latex=\"\\cong =\\sqrt[{2}] {22}\"/>图片片<\/p>","item_options":[{"key":"A","value":"vvvdds<IMG align=\"absmiddle\" src=\"9D95827DD7366B59458DA21084D8239F.png\" >"},{"key":"B","value":"方法"},{"key":"C","value":" 得到"},{"key":"D","value":"得到"}],"analysis":"","item_answers":"A","item_score":"5.00","item_order":5}}]
         * ynJoin : 0
         * ynComplete : 0
         * ex_score : 5.00
         * ex_wrong_items : 4
         * ranking : 5
         * create_date : 2017-06-27 10:31:04
         */

        private long id;
        private int ynJoin;
        private int ynComplete;
        private String ex_score;
        private int ex_wrong_items;
        private int ranking;
        private String create_date;
        private List<ExaminResultBean> examin_result;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public int getYnJoin() {
            return ynJoin;
        }

        public void setYnJoin(int ynJoin) {
            this.ynJoin = ynJoin;
        }

        public int getYnComplete() {
            return ynComplete;
        }

        public void setYnComplete(int ynComplete) {
            this.ynComplete = ynComplete;
        }

        public String getEx_score() {
            return ex_score;
        }

        public void setEx_score(String ex_score) {
            this.ex_score = ex_score;
        }

        public int getEx_wrong_items() {
            return ex_wrong_items;
        }

        public void setEx_wrong_items(int ex_wrong_items) {
            this.ex_wrong_items = ex_wrong_items;
        }

        public int getRanking() {
            return ranking;
        }

        public void setRanking(int ranking) {
            this.ranking = ranking;
        }

        public String getCreate_date() {
            return create_date;
        }

        public void setCreate_date(String create_date) {
            this.create_date = create_date;
        }

        public List<ExaminResultBean> getExamin_result() {
            return examin_result;
        }

        public void setExamin_result(List<ExaminResultBean> examin_result) {
            this.examin_result = examin_result;
        }

        public static class ExaminResultBean {
            /**
             * id : 1986
             * score : 0
             * answer : [""]
             * iteminfo : {"id":314064,"item_type":1,"item_body":"<p>中国的首都？<\/p><IMG align=\"absmiddle\" src=\"091055F454DC4CB5E07D08583B1C39A0.png\" >","item_options":[{"key":"A","value":"北京<IMG align=\"absmiddle\" src=\"215A976AA710FC4650A98FBA7DB7B075.png\" >"},{"key":"B","value":"天津"},{"key":"C","value":"深圳"},{"key":"D","value":"香港"}],"analysis":"","item_answers":"A","item_score":"25.00","item_order":1}
             */

            private int id;
            private double score;
            private IteminfoBean iteminfo;
            private List<String> answer;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public double getScore() {
                return score;
            }

            public void setScore(double score) {
                this.score = score;
            }

            public IteminfoBean getIteminfo() {
                return iteminfo;
            }

            public void setIteminfo(IteminfoBean iteminfo) {
                this.iteminfo = iteminfo;
            }

            public List<String> getAnswer() {
                return answer;
            }

            public void setAnswer(List<String> answer) {
                this.answer = answer;
            }

            public static class IteminfoBean {
                /**
                 * id : 314064
                 * item_type : 1
                 * item_body : <p>中国的首都？</p><IMG align="absmiddle" src="091055F454DC4CB5E07D08583B1C39A0.png" >
                 * item_options : [{"key":"A","value":"北京<IMG align=\"absmiddle\" src=\"215A976AA710FC4650A98FBA7DB7B075.png\" >"},{"key":"B","value":"天津"},{"key":"C","value":"深圳"},{"key":"D","value":"香港"}]
                 * analysis :
                 * item_answers : A
                 * item_score : 25.00
                 * item_order : 1
                 */

                private int id;
                private int item_type;
                private String item_body;
                private String analysis;
                private String item_answers;
                private double item_score;
                private int item_order;
                private List<ItemOptionsBean> item_options;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getItem_type() {
                    return item_type;
                }

                public void setItem_type(int item_type) {
                    this.item_type = item_type;
                }

                public String getItem_body() {
                    return item_body;
                }

                public void setItem_body(String item_body) {
                    this.item_body = item_body;
                }

                public String getAnalysis() {
                    return analysis;
                }

                public void setAnalysis(String analysis) {
                    this.analysis = analysis;
                }

                public String getItem_answers() {
                    return item_answers;
                }

                public void setItem_answers(String item_answers) {
                    this.item_answers = item_answers;
                }

                public double getItem_score() {
                    return item_score;
                }

                public void setItem_score(double item_score) {
                    this.item_score = item_score;
                }

                public int getItem_order() {
                    return item_order;
                }

                public void setItem_order(int item_order) {
                    this.item_order = item_order;
                }

                public List<ItemOptionsBean> getItem_options() {
                    return item_options;
                }

                public void setItem_options(List<ItemOptionsBean> item_options) {
                    this.item_options = item_options;
                }

                public static class ItemOptionsBean {
                    /**
                     * key : A
                     * value : 北京<IMG align="absmiddle" src="215A976AA710FC4650A98FBA7DB7B075.png" >
                     */

                    private String key;
                    private String value;

                    public String getKey() {
                        return key;
                    }

                    public void setKey(String key) {
                        this.key = key;
                    }

                    public String getValue() {
                        return value;
                    }

                    public void setValue(String value) {
                        this.value = value;
                    }
                }
            }
        }
    }
}
